@import './variable.less';

.gift-center-qiji {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;

  .card-view {
    margin-top: 18/@ppr;
    align-self: center;
    width: 699/@ppr;
    height: 338/@ppr;
    background-size: 100%;
    background-position: top center;
    background-repeat: no-repeat;
    box-sizing: border-box;
    &.gold {
      background-image: url('../../images/qiji/giftcenter/gold.png');

      .date-view {
        background: rgba(238, 181, 53, 0.8);
      }
    }

    &.silver {
      background-image: url('../../images/qiji/giftcenter/silver.png');

      .date-view {
        background: rgba(187, 187, 187, 0.8);
      }
    }
    position: relative;
    padding-left: 32/@ppr;
    .date-view {
      height: 60/@ppr;
      line-height: 60/@ppr;
      background: rgb(180, 180, 180);
      padding: 0 20/@ppr;
      border-top-left-radius: 30/@ppr;
      border-bottom-left-radius: 30/@ppr;
      color: white;
      font-size: 24/@ppr;
      position: absolute;
      top: 26/@ppr;
      right: 3/@ppr;
    }
    .card-text {
      color: white;
      font-size: 34/@ppr;
      font-weight: bold;
      margin-top: 104/@ppr;
    }
    .money-view {
      margin-top: 80/@ppr;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      .money-cell {
        text-align: left;
        color: white;
        font-size: 26/@ppr;
        width: 242/@ppr;
        .money {
          padding: 0;
          margin: 16/@ppr 0 0 0;
          font-size: 36/@ppr;
          font-weight: bold;
          .unit {
            font-size: 22/@ppr;
            font-weight: normal;
          }
        }
      }
    }
  }

  .gift-info-box {
    background: #fff url("../../images/cq/gift/back-top.png") no-repeat top left;
    background-size: 100% auto;
    padding-top: 80/@ppr;
    padding-bottom: 10/@ppr;
  }

  .gift-info {
    box-sizing: border-box;
    margin: 0 30/@ppr;
    background-color: #fff;
    box-shadow: 0 5/@ppr 5/@ppr 0 rgba(0, 0, 2, 0.1);
    border-radius: 10/@ppr;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    font-size: 0;

    .info-item {
      flex: 1;
      height: 230/@ppr;
      display: flex;
      flex-direction: column;
      justify-content: center;

      &.active {
        background-color: #f8f8f8;
      }

      text-align: center;

      .item-text {
        font-size: 52/@ppr;
        line-height: 36/@ppr;
        color: #ff6045;
        font-weight: bold;

        span {
          font-size: 26/@ppr;
          font-weight: 400;
        }
      }

      .item-ctr {
        margin-top: 6/@ppr;
        font-size: 30/@ppr;
        color: #464646;
      }

      .item-title {
        margin-top: 22/@ppr;
        color: #5c5c5c;
        font-size: 26/@ppr;
      }

      &:nth-last-child(2) {
        .item-text {
          font-size: 36/@ppr;
        }
      }

      //.cor-red{
      //  color:#ff6655 ;
      //}
      //.cor-666{
      //  color: #666;
      //}
      //.font-22{
      //  font-size: 22/@ppr;
      //}
    }
  }

  .plateTitle {
    font-size: 36/@ppr;
    line-height: 36/@ppr;
    color: #2e2e36;
    padding: 0 0 30/@ppr 0;
    font-weight: bold;
  }

  .change-src {
    background-color: white;
    box-sizing: border-box;
    padding: 30/@ppr;

    .title {
      font-size: 30/@ppr;
      font-weight: bold;
      color: #333;
    }

    .chenge-tab {
      display: flex;
      justify-content: space-around;
      padding-top: 40/@ppr;
      padding-bottom: 50/@ppr;

      .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;

        .oilcardicon {
          width: 50/@ppr;
          height: 38/@ppr;
        }

        .cardicon {
          width: 48/@ppr;
          height: 36/@ppr;
        }
      }

      .tab-item>div {
        margin-top: 16/@ppr;
        font-size: 28/@ppr;
      }
    }

    .img-list img {
      &.img-member {
        width: 345/@ppr;
        height: auto;
      }
      width: 100%;
      height: auto;
      margin-bottom: 16/@ppr;
    }
  }
}
